package com.thb.pay.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thb.pay.db.entity.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统-生成编号规则定义表
 * </p>
 *
 * @author lucky
 * @since 2019-07-21
 */
@Data
@Accessors(chain = true)
@TableName("sys_gen_encode_define")
public class SysGenEncodeDefine extends SuperEntity<SysGenEncodeDefine> {

    public static final String TABLE_NAME = "sys_gen_encode_define";

    private static final long serialVersionUID = 1L;

    /**
     * 编码类型ID
     */
    private Long encodeTypeId;

    /**
     * 编码前缀代码
     */
    private String prefixCode;
    /**
     * 后缀长度
     */
    private Integer suffixLength;

    /**
     * 编码值
     */
    private String snValue;
}
